package com.wit.witmg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author bob
 * @since 2025-02-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TDeliver对象", description="发货清单表")
public class TDeliver implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private int id;

    @ApiModelProperty(value = "0-未备货,1-已备货,2-已发货,3-已签收")
    private Integer stat;

    @ApiModelProperty(value = "订单id")
    private Integer pid;

    @ApiModelProperty(value = "出库日期")
    private Date date;

    @ApiModelProperty(value = "签收日期")
    private Date rdate;

    @ApiModelProperty(value = "签收地址")
    private String addr;

    @ApiModelProperty(value = "签收定位")
    private String gps;

    @ApiModelProperty(value = "签收人手机")
    private String rphone;

    @ApiModelProperty(value = "签收人姓名")
    private String rna;

    @ApiModelProperty(value = "异常备注")
    private String abnor;

    @ApiModelProperty(value = "客户名称")
    private String cna;

    @ApiModelProperty(value = "客户编码")
    private String cbn;

    @ApiModelProperty(value = "归属部门id")
    private Integer oid;

    @ApiModelProperty(value = "录入人")
    private Long guid;

    private String wlbn;//物流公司编码
    private String wlna;//司机姓名
    private String wlphone;//司机电话
    private Double weight;//重量
    private Double fee;//运费
    private String remark;//备注

    private transient List<TDeliverp> prod;

}
